#!/bin/sh



CASP9Home=/mnt/datadisk4/CASP9
echo "CASP9Home=$CASP9Home"
cd $CASP9Home

TargetName=$1
TargetDir=$TargetName
echo "TargetName=$TargetName"

#============by chenrong===================
#DecoyHost=$2
#DecoyHost_P550="0"
#DecoyHost_AMD="1"
#echo "DecoyHost=$DecoyHost"
#=========================================

FragDir="$TargetDir/frag"
echo "FragDir=$FragDir"


mkdir $TargetDir
chmod 777 -R $TargetDir
cp $TargetName.fasta $TargetDir/.


mkdir  $FragDir


cd /home/hjwu/predict/sh
echo "============================================="
echo "make work dir  done."
echo "======================================="




#if  [ "$DecoyHost" = "$DecoyHost_P550" ]
#then
#   ./callLab547.sh $TargetName > ${TargetName}_callLab547.log
#  echo "./callLab547.sh $TargetName > ${TargetName}_callLab547.log"
#if  [  "$DecoyHost" = "$DecoyHost_AMD" ]
#then
./callAMD.sh $TargetName > ${TargetName}_callAMD.log
echo "./callAMD.sh $TargetName > ${TargetName}_callAMD.log"
#fi


